[Backport 2.x] [Refactor] Requests to use MediaType instead of XContentType (#6218)#6433
Merged
nknize merged 1 commit intoopensearch-project:2.xfrom Feb 22, 2023
Merged
Conversation
…rch-project#6218) Refactors various REST requests to use MediaType instead of XContentType to abstract media format from the REST interfaces. Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
Contributor
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## 2.x #6433 +/- ##
============================================
- Coverage 70.40% 70.37% -0.04%
- Complexity 59222 59253 +31
============================================
Files 4798 4798
Lines 284215 284302 +87
Branches 41317 41321 +4
============================================
- Hits 200100 200068 -32
- Misses 67417 67446 +29
- Partials 16698 16788 +90
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
dreamer-89
approved these changes
Feb 22, 2023
Rishikesh1159
added a commit
to Rishikesh1159/OpenSearch
that referenced
this pull request
Mar 16, 2023
Rishikesh1159
added a commit
to Rishikesh1159/OpenSearch
that referenced
this pull request
Mar 19, 2023
Rishikesh1159
added a commit
to Rishikesh1159/OpenSearch
that referenced
this pull request
Mar 30, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport 1f4cdd2 from #6218.